package com.dotflat.check.domain;


import com.dotflat.rest.domain.AreableObjectBase;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 系统卡总表
 */
@Entity
@Table(name = "c_card")
@lombok.Data
@EqualsAndHashCode(callSuper = true)
public class Card extends AreableObjectBase
{

    @Column(columnDefinition = "int default 0 COMMENT '类型,未确定0,巡检1  考勤2 '")
    private int type = 0;

    @Column(columnDefinition = "varchar(32) COMMENT '卡号' ")
    private String cardNo;

    @Column(columnDefinition = "varchar(32) COMMENT '卡内码' ")
    private String cardCode;

    @Column(columnDefinition = "int default 0  COMMENT '状态0待激活1已激活' ")
    private int status;

    @Column(columnDefinition = "varchar(255) COMMENT '用途类型' ")
    private String purposeType;

    @Column(columnDefinition = "varchar(255) COMMENT '芯片类型' ")
    private String chipType;


}
